﻿//Copyright (C) <2013>  <jonathan cleeve norton> All Rights Reserved 
//Contact jon.norton@fin-plus.co.uk website <http://www.fin-plus.co.uk/>
using System.Collections.Specialized;
using System.ComponentModel;

namespace FinPlusCommon
{
    public interface IFinPlusFuncDynamics 
    {
        event PropertyChangedEventHandler FunctionChanged, ColumnChanged;
        event NotifyCollectionChangedEventHandler CollectionChanged;

        void Add(IFinPlusFuncDynamic dynamicDict);

        void Clear();

        void Replace(IFunctions funcs);

        bool Remove(string id);

        bool TryGet(string id, out IFinPlusFuncDynamic value);

        IFunctions ToFunctions();
    }
}
